//
//  LoginVC.m
//  Opposite
//
//  Created by Steven on 2019/7/15.
//  Copyright © 2019 Steven. All rights reserved.
//

#import "LoginVC.h"
#import "ToastManager.h"
@interface LoginVC ()
@property (weak, nonatomic) IBOutlet UITextField *phoneTF;
@property (weak, nonatomic) IBOutlet UITextField *pwdTF;

@end

@implementation LoginVC

- (void)viewDidLoad {
    [super viewDidLoad];
  
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    
    self.navigationController.navigationBar.hidden = YES;
}
- (IBAction)loginAction:(id)sender {
    
    if (self.phoneTF.text.length == 0) {
        [Toast.makeText(@"请输入手机号！") showOnDismiss:nil];
        return;
    }
    
    if (self.pwdTF.text.length == 0) {
        [Toast.makeText(@"请输入密码！") showOnDismiss:nil];
        return;
    }
    
    

 
}





@end
